import Vue from 'vue'
import VueRouter from 'vue-router'
import Login from '../views/login'

Vue.use(VueRouter)

const routes = [
  {
    path: '/login',
    name: 'login',
    component: Login
  },
  {
    path: '/',
    name: 'meshing',
    component: () => import( '../views/meshing')
  },
  {
    path:'/layout',
    name:'layout',
    component:()=>import('../layout')
  },
  {
    path:'/schoolInfo',
    name:'schoolInfo',
    component:()=>import('../views/schoolInfo')
  },
  {
    path:'/upload',
    name:'upload',
    component:()=>import('../views/upload')
  }
]

const router = new VueRouter({
  routes
})

export default router
